package com.iotechn.unimall.data.dto.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import cn.afterturn.easypoi.excel.entity.params.ExcelExportEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author kyms
 * @date 2020-07-15 15:48
 */
@Data
@ExcelTarget("skuReturnSummaryDTO")
public class SkuReturnSummaryDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long skuId;
    @Excel(name = "条码", width = 15d)
    private String barCode;
    @Excel(name = "商品名称", width = 15d)
    private String spuTitle;
    @Excel(name = "规格", width = 15d)
    private String skuTitle;
    @Excel(name = "单位")
    private String unit;
    @Excel(name = "退回总数")
    private Float returnNum;

    private Float returnSupplierNum;

    @ExcelEntity(name = "每日详情", show = true)
    private List<ExcelExportEntity> entity = new ArrayList<ExcelExportEntity>();
}
